package com.huakang.mapper;

import com.huakang.entity.Seeadoctor;
import com.huakang.entity.SeeadoctorExample;
import java.util.List;

import com.huakang.utils.SeeadoctorVo;
import org.apache.ibatis.annotations.Param;

public interface SeeadoctorMapper {
    long countByExample(SeeadoctorExample example);

    int deleteByExample(SeeadoctorExample example);

    int deleteByPrimaryKey(Integer sid);

    int insert(Seeadoctor record);

    int insertSelective(Seeadoctor record);

    List<Seeadoctor> selectByExample(SeeadoctorExample example);

    Seeadoctor selectByPrimaryKey(Integer sid);

    int updateByExampleSelective(@Param("record") Seeadoctor record, @Param("example") SeeadoctorExample example);

    int updateByExample(@Param("record") Seeadoctor record, @Param("example") SeeadoctorExample example);

    int updateByPrimaryKeySelective(Seeadoctor record);

    int updateByPrimaryKey(Seeadoctor record);

    List<SeeadoctorVo> findNameByPid();


    List<SeeadoctorVo> findByName(String input);

    List<SeeadoctorVo> findById(Integer sid);
    List<SeeadoctorVo> selectInhosp();
    List<SeeadoctorVo> selectSearch(String search);

    List<Seeadoctor> findByidOne(Integer pid);

    List<SeeadoctorVo> findByzhenduan(String input);
}